package com.codebattery.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.OneToMany;
import java.util.List;

/**
 * @Author cay91
 * @Date 2020-09-03 5:14 PM
 * @Version 1.0
 */

/**
 * 商品属性表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsAttr {
    private Integer id;

    /**
     * 商品ID
     */
    private Integer goodsId;

    /**
     * 属性名
     */
    private String attrName;

    private List<GoodsAttrValue> values;
}